package team.seekers.hula.teamwork.teamTodo.entity.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 团队待办DO
 * @author hbc
 * @since 2023-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TeamTodo对象", description = "团队待办")
@TableName(value = "team_todo")
public class TeamTodoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "团队待办id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "团队待办的团队id")
    private String teamId;

    @ApiModelProperty(value = "团队待办的负责人id")
    private String userId;

    @ApiModelProperty(value = "团队待办的hula币")
    private Double hulaCoin;

    @ApiModelProperty(value = "团队待办的参与者信息")
    private String participants;

    @ApiModelProperty(value = "团队待办的标题")
    private String title;

    @ApiModelProperty(value = "团队待办截止时间")
    private Date gmtEnd;

    @ApiModelProperty(value = "团队待办完成数量")
    private Integer finishNumber;

    @TableLogic
    private Integer isDelete;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
